#ifndef __CONFIG_FACTORY_H__
#define __CONFIG_FACTORY_H__
#include "sfsis.h"
#pragma pack(1)
typedef enum
{
    CONFIG_FACTORY_RGBTYPE_RGB,
    CONFIG_FACTORY_RGBTYPE_RBG,
    CONFIG_FACTORY_RGBTYPE_BGR,
    CONFIG_FACTORY_RGBTYPE_BRG,
    CONFIG_FACTORY_RGBTYPE_GBR,
    CONFIG_FACTORY_RGBTYPE_GRB,
}Config_Factory_RGBType;
/*工厂出场参数*/
typedef struct
{
    su8 logicOriginPoint; //逻辑原点,在实际运算中，灯带被想象成一个首尾相连的元，逻辑原点可以解决安装中的问题
    su8 isReverse;        //扫描方向
    su8 maxBrightness;    //最大亮度限制
    su8 rgbType;          //灯带的RGB模式。和硬件有关，有些灯按照RGB排列，有些则是GBR
    su8 enabledDotNumber; //灯带的使能个数
} Config_Factory;

typedef union
{
    Config_Factory entity;
    su8 memory[32];
} Config_Factory_u;

#pragma pack()
#endif
